﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using NF_Mode;

namespace NF_Web.Event
{
    //每此向数据库插入一条数据后，抽发改事件,并向结果表中增加一条
    public static  class ExportResultEvent
    {
        public delegate void AddResultDelegate(DataGridView data);

        public static event AddResultDelegate AddResultEvent;

        public static void AddResult(DataGridView data)
        {
            if (AddResultEvent != null)
                AddResultEvent(data);
        }
    }
}
